package vars

import (
	"satis-go/config/typs"

	"gitee.com/csingo/cHelper"
)

var CollectorConfig = &typs.CollectorConf{
	Enable:       cHelper.EnvToBool("SATIS_ENABLE", true),
	SatisName:    cHelper.EnvToString("SATIS_NAME", "CSINGO / SATIS"),
	SatisHost:    cHelper.EnvToString("SATIS_HOST", "http://satis-go.csingo.com"),
	PackagesPath: cHelper.EnvToString("SATIS_PACKAGES_PATH", "D:\\project\\self\\satis-go\\resource\\packages"),
	Concurrent:   cHelper.EnvToInt("SATIS_CONCURRENT", 50),
	WaitSecond:   cHelper.EnvToInt("SATIS_WAIT_SECOND", 60),
	PublicKey:    cHelper.EnvToString("SATIS_PUBLIC_EKY", ""),
	PrivateKey:   cHelper.EnvToString("SATIS_PRIVATE_EKY", ""),
}
